import {
    post
} from '@/assets/api/http'

//用户协议
export const agreementApi = (data, config) => post('/api/index/getConfig', data, config)

//我的提问
export const getMyQuizList = (data) => post('/api/Jianghu/pc_new_getMyQuizList', data)

//我的回答
export const getMyAnswerList = (data) => post('/api/Jianghu/pc_getMyAnswerList', data)

//我的下载
export const myDownload = (data) => post('/api/drygoods/mydownload', data)

//修改密码
export const changepwdV1 = (data) => post('/api/user/changepwdV1', data)

//我的收藏
export const getMyCollect = (data) => post('/api/user/getMyCollect', data)

//小竹叶明细
export const getMoneyLog = (data) => post('/api/user/new_pc_getMoneyLog', data)

//讲义下载记录
export const getNoteDownload = (data) => post('/api/College/mydownload', data)

//修改个人信息
export const editUserInfo = (data) => post('/api/user/pc_profile', data)

//撤回我的提问
export const recallQuiz = (data) => post('/api/user/recallquiz', data)

//删除我的提问
export const delMyQuiz = (data) => post('/api/Jianghu/delMyQuiz', data)

//问题库取消收藏
export const wtk_cancelLike = (data) => post('/api/Issue/setCollect', data)

//会计法规库取消收藏
export const cancelLike = (data) => post('/api/Norm/setCollect', data)

//税收法规库取消收藏
export const policyCancelLike = (data) => post('/api/Policy/setCollect', data)

//小竹学院取消收藏
export const sch_cancelLike = (data) => post('/api/College/setCollect', data)

//江湖取消收藏
export const jh_cancelLike = (data) => post('/api/Jianghu/setCollect', data)

//模板取消收藏
export const mb_cancelLike = (data) => post('/api/drygoods/setCollect', data)

//模板取消收藏
export const zx_cancelLike = (data) => post('/api/imformation/setCollect', data)

//删除模板
export const delModelDownload = (data) => post('/api/drygoods/del_mydownload', data)

//我的关注和粉丝
export const getMyFollowFans = (data) => post('/api/user/getMyFollowFans', data)

// 关注
export const setFollow = (data) => post('/api/Jianghu/setFollow', data)

// 服务商订单线上支付
export const getUserPayData = (data) => post('/api/service/getUserPayData', data)

// 服务商订单线上支付
export const getUserOrderPayData = (data) => post('/api/service/getUserOrderPayData', data)

// 订单列表
export const getUserOrderList = (data) => post('/api/service/getuserorderlist', data)

//订单详情
export const getOrderDetail = (data) => post('/api/service/getuserorderdetail', data)

//订单确认
export const checkOrder = (data) => post('/api/service/usercheckorder', data)

//订单评价
export const orderEvaluate = (data) => post('/api/service/orderevaluate', data)

//订单评价
export const delOrder = (data) => post('/api/service/delorder', data)

//充值小竹叶
export const goPay = (data) => post('/api/Recharge/goPay', data)

//充值详情
export const payDetail = (data) => post('/api/Recharge/paydetail', data)

//会员套餐列表
export const getVipcomboList = (data) => post('/api/Iospay/getVipcomboList', data)

//会员充值
export const payVip = (data) => post('/api/Vipuser/payVip', data)


//优惠券购买
export const payCoupon = (data) => post('/api/Jianghunew/pay_coupon', data)

//优惠券购买详情
export const payCouponDetail = (data) => post('/api/Jianghunew/coupon_paydetail', data)

//会员充值详情
export const payVipDetail = (data) => post('/api/Vipuser/paydetail', data)

//兑换码
export const checkCode = (data) => post('/api/exchangecode/checkcode', data)

// 个人中心-获取我的回答（新版）
export const getJianghuMyAns_chat = (data) => post('/api/user/getJianghuMyAns', data)

// 个人中心-获取我的提问（新版）
export const getJianghuMyQuiz_chat = (data) => post('/api/user/getJianghuMyQuiz', data)

// 个人中心-获取我的提问（新版）
export const delmyquiz_chat = (data) => post('/api/user/delmyquiz', data)

// 获取未读消息
export const getmessage_count = (data) => post('/api/mymessage/getmessage_count', data)

// 获取回复列表
export const mychatroomtext = (data) => post('/api/mymessage/pc_mychatroomtext', data)

// 获取点赞评论
export const getlikecomment = (data) => post('/api/mymessage/getlikecomment', data)

// 获取消息
export const getmessage = (data) => post('/api/mymessage/getmessage', data)

// 获取评论
export const getcomment = (data) => post('/api/mymessage/getcomment', data)

// 获取点赞
export const new_getgivelike = (data) => post('/api/mymessage/new_getgivelike', data)

// 获取公告活动
export const getMessageList = (data) => post('/api/Mymessage/getList', data)

// 获取公告活动详情
export const getMessageListInfo = (data) => post('/api/Mymessage/getListInfo', data)

// 购买记录
export const mybuyrecord = (data) => post('/api/user/mybuyrecord', data)


// 会员列表
export const getVipcomboList_new = (data) => post('/api/Iospay/getVipcomboList_new', data)

// 会员列表
export const getCouponList = (data) => post('/api/Jianghunew/couponlist', data)

// 代金券列表
export const serviceVoucherList = (data) => post('/api/service//service_voucher_list', data)

// 问答vip套餐
export const WendavipGetCombo = (data) => post('/api/Wendavipuser/pc_getCombo', data)

// 问答券列表
export const WendacouponGetList = (data) => post('/api/Wendacoupon/getList', data)


// 获取查税宝充值列表
export const chashuibaorecharge_getComboList = (data) => post('/api/chashuibaorecharge/getComboList', data)


// 问答会员套餐下单
export const WendavipPayVip = (data) => post('/api/Wendavipuser/payVip', data)

// 购买问答券-确认订单页数据
export const WendacouponPaycoupon = (data) => post('/api/Wendacoupon/pay_coupon', data)


// 查询优惠券支付详情
export const WendacouponcouponPaydetail = (data) => post('/api/Wendacoupon/coupon_paydetail', data)
// 查询优惠券支付详情
export const gptrecharge_paydetail = (data) => post('/api/gptrecharge/paydetail', data)
// 查询优惠券支付详情
export const recharge_paydetail = (data) => post('/api/recharge/paydetail', data)

// 问答vip查看详情
export const WendavipPaydetail = (data) => post('/api/Wendavipuser/paydetail', data)


// 小竹叶购买列表
export const getComboList = (data) => post('/api/Recharge/getComboList', data)

export const getComboList2 = (data) => post('/api/Recharge/getComboList', data)

// 半月及以上时间未登录的用户赠送1000小竹叶
export const LtLongIn = (data) => post('/api/user/get_halfmonth_addmoneywindow', data)

// 半月及以上时间未登录的用户赠送1000小竹叶
export const get_threetimes_addmoneywindow = (data) => post('/api/user/get_threetimes_addmoneywindow', data)


// 查看会员折扣券
export const get_userdiscount_coupons = (data) => post('/api/user/get_userdiscount_coupons', data)

// 查看会员折扣券
export const pc_buy_vip_code = (data) => post('/api/user/pc_buy_vip', data)
export const pc_buy_coupon_code = (data) => post('/api/user/pc_buy_coupon', data)
export const pc_buy_recharge_code = (data) => post('/api/user/pc_buy_recharge', data)
export const pc_buy_chashuibao = (data) => post('/api/user/pc_buy_chashuibao', data)


export const get_trade = (data) => post('/api/custompush/push_trade_list', data)

export const push_tax_list = (data) => post('/api/custompush/push_tax_list', data)


export const get_custom_push_log = (data) => post('/api/user/get_custom_push_log', data)
export const close_custom_push_log = (data) => post('/api/user/close_custom_push_log', data)

export const chashuibaorecharge_chashuibao_paydetail = (data) => post('/api/chashuibaorecharge/chashuibao_paydetail', data)

export const seek_ask = (data) => post('/api/user/seek_ask', data)


export const show_login_window_new = (data) => post('/api/user/show_login_window_new', data)

